package com.wesley.decorator;

/**
 * <h1>Component角色</h1>
 * <p>饮品</p>
 *
 * @Date: 2021/8/18
 */
public abstract class Drink {

    public String desc;

    private float price = 0.0f;

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public float getPrice() {
        return price;
    }

    public void setPrice(float price) {
        this.price = price;
    }

    public abstract float cost();
}
